﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<BolsaWeb.Dominio.Postulante>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Postulante / Editar
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <% Html.EnableClientValidation(); %>

    <h2>Postulante</h2>
   <% using (Html.BeginForm()) { %>
   <%= Html.ValidationSummary(true) %>
<fieldset>
            <legend>Postulante / Editar</legend>
    
            <div class="editor-label">
                <%= Html.LabelFor(model => Model.Correo) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.Correo)%>
                <%= Html.ValidationMessageFor(model => model.Correo)%>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => Model.Clave) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.Clave) %>
                <%= Html.ValidationMessageFor(model => model.Clave) %>
            </div>
            
            
            <div class="editor-label">
                <%= Html.LabelFor(model => Model.ApellidoPaterno) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.ApellidoPaterno) %>
                <%= Html.ValidationMessageFor(model => model.ApellidoPaterno) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.ApellidoMaterno) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.ApellidoMaterno)%>
                <%= Html.ValidationMessageFor(model => model.ApellidoMaterno)%>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.FechaNacimiento ) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.FechaNacimiento, new { @class="datepicker" })%>
                <%= Html.ValidationMessageFor(model => model.FechaNacimiento)%>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.Nombres) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.Nombres)%>
                <%= Html.ValidationMessageFor(model => model.Nombres)%>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.Curriculum) %>
            </div>
            <div class="editor-field">
            <%= Html.TextAreaFor(model => model.Curriculum)%>
            <%= Html.ValidationMessageFor(model => model.Curriculum)%>
            </div>
            <div class="editor-label">
                <%= Html.LabelFor(model => model.Sexo) %>
            </div>
            <div class="editor-field">
            <%= Html.DropDownList("Sexo") %>
            <%= Html.ValidationMessageFor(model => model.Sexo) %>
            </div>
            <p>
                <input type="submit" value="Modificar" />
            </p>
        </fieldset>

  <% } %>
   <div>
        <%= Html.ActionLink("Regresar", "Index") %>
    </div>
</asp:Content>
